package com.csx.governance.traffic.mq.rocketmq;

import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext;
import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyStatus;
import org.apache.rocketmq.client.consumer.listener.MessageListenerOrderly;
import org.apache.rocketmq.common.message.MessageExt;

import java.util.List;

/**
 * @author cuisongxu
 * @date 2023/2/28 16:48
 */
public class TrafficConsumeMessageListenerOrderly implements MessageListenerOrderly {

    @Override
    public ConsumeOrderlyStatus consumeMessage(List<MessageExt> msgs, ConsumeOrderlyContext context) {
        System.out.println("TrafficConsumeMessageListenerOrderly#consumeMessage");
        return null;
    }
}
